package com.woniu.cms.lease.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-18
 */
@Getter
@Setter
@TableName("cms_lease_storage")
@ApiModel(value = "LeaseStorage对象", description = "")
public class LeaseStorage implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("仪表主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("管理编号")
      private String managementId;

      @ApiModelProperty("仪表名称")
      private String instrumentName;

      @ApiModelProperty("规格型号")
      private String model;

      @ApiModelProperty("制造厂家")
      private String manufacturer;

      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
      @ApiModelProperty("购买日期")
      private Date datePurchase;

      @ApiModelProperty("仪表出厂编号")
      private String leaveId;

      @ApiModelProperty("仪表单价")
      private String price;

      @ApiModelProperty("租赁价格")
      private Integer valueOfLeass;

      @ApiModelProperty("仪表状态(0-待用,1-在用,2-检修,3-校验,4-停用,5-封存,6-报废)")
      private Integer condition;

      @ApiModelProperty("放置地点")
      private String place;

      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
      @ApiModelProperty("状态时间变更")
      private Date timeChange;

      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")

      @ApiModelProperty("上年检定时间")
      private Date lastVerificationTime;

      @ApiModelProperty("仪表功能")
      private String instrumentFunction;

      @ApiModelProperty("基本配置")
      private String basicConfiguration;


}
